package com.mdc.mansion.core.modules.dishes;

import com.mdc.mansion.core.modules.dishes.dto.RestaurantDishesDTO;
import com.mdc.mansion.dataaccess.common.persistence.Page;
import com.mdc.mansion.dataaccess.common.service.BaseService;
import com.mdc.mansion.dataaccess.modules.dishes.entity.RestaurantDishes;
import com.mdc.mansion.dataaccess.modules.dishes.vo.RestaurantDishesVo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;


/**
 * 餐厅菜品信息Service
 * @author mingdongc
 * @version 2018-01-01
 */
public interface RestaurantDishesService extends  BaseService<RestaurantDishes> {

    List<RestaurantDishes> getListByIds(List<String> ids);

	Page<RestaurantDishes> findDishesInfoPage(RestaurantDishesVo restaurantDishesVo) throws Exception;

	Map<String, Object> findDishesList(RestaurantDishesVo restaurantDishesVo) throws Exception;

	void updateDisSort(String data) throws Exception;

	void deleteDishesAndStand(String restaurantDishesId);

	void saveDishes(RestaurantDishesDTO restaurantDishesDTO) throws InvocationTargetException, IllegalAccessException;
	/**
	 * 获取商家菜品列表
	 * @date create_time：2018年1月21日 下午4:51:36
	 * @param restaurantDishesVo
	 * @return
	 */
	List<RestaurantDishesVo> findDishesListWithExt(RestaurantDishesVo restaurantDishesVo);

    List<RestaurantDishes> findCurrentRestaurantDishes();
}

